<?php

/*
 * This script belongs to Aspect PHP.
 *
 * It is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 *
 * This script is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
 * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
 * General Public License for more details.
 */

/**
 * A class to test AspectPHP
 *
 * @package    aspectPhp
 * @subpackage test
 * @author     gboisse
 */
class TestingValue {

    /** @var string */
    protected $testingValue = '';

    /**
     * Appends a string to the current testing value
     *
     * @param string $value The string value to add
     */
    public function addToTestingValue($value) {
        $this->testingValue .= (empty($this->testingValue) ? '' : ':') . $value;
    }

    /**
     * Retrieves the current testing value
     *
     * @return string The testing value
     */
    public function getTestingValue() {
        return $this->testingValue;
    }

}
